package com.xz.realdemo.builder;

/**
 * @author 张志航     
 * @version V1.0.0
 * @projectName design_mode
 * @title     DecktopBuilder   
 * @package    com.xz.realdemo.builder  
 * @date   2019/11/28 19:46  
 * @explain
 */
public class DecktopBuilder extends ComputerBuilder{
    @Override
    void buildCpu() {
        computer.setCpu("台式机cpu");
    }

    @Override
    void buildInternal() {
        computer.setInternal("台式机内存");
    }

    @Override
    void buildDisk() {
        computer.setDisk("台式机硬盘");
    }

    @Override
    void buildEngine() {
        computer.setEngine("台式机主机");
    }

    @Override
    void buildDisplay() {
        computer.setDisplay("台式机显示器");
    }
}
